﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MqttModel
{
    //如果好用，请收藏地址，帮忙分享。
    public class Type
    {
        /// <summary>
        /// 
        /// </summary>
        public TypeEnum type { get; set; }
        /// <summary>
        /// 国庆节后补班
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int week { get; set; }
    }


    public class Holiday
    {
        /// <summary>
        /// 
        /// </summary>
        public string holiday { get; set; }
        /// <summary>
        /// 国庆节后补班
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string after { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int wage { get; set; }
        /// <summary>
        /// 国庆节
        /// </summary>
        public string target { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string date { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int rest { get; set; }
    }

    public class HolidayModel
    {
        /// <summary>
        /// 
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Type type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Holiday holiday { get; set; }
    }

    public enum TypeEnum
    {
        工作日,周末,节日,调休
    }
}
